#include "adr/Metadata/Attribute.h"
#include "adr/Metadata/BaseProperty.h"
namespace adr {
	using namespace std;

	Attribute::Attribute(const string& name) : name(name) {}

	const string& Attribute::GetName() const {
		return this->name;
	}

	void Attribute::AddValidationError(BaseProperty& prop, const string& error) {
		prop.validationErrors.push_back(error);
	}

	Attribute::~Attribute() {}
}